package com.authority;

import com.authority.framework.base.Thread.onlineThread;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @program: authority
 * @description: 启动类
 * @author: Mr.Yan
 * @create: 2018-11-14 09:26
 **/
@SpringBootApplication
@EnableScheduling
@EnableCaching
public class RunApplication {
	protected final Logger logger = LoggerFactory.getLogger(this.getClass());

	public static void main(String[] args)
	{
		SpringApplication.run(RunApplication.class, args);
		System.out.println("");
		System.out.println("———————————— [ [ [  非 常 帅 气 的 启 动 S U C E S S  ] ] ] ————————————");
		System.out.println("");
		// 此线程清空历史在线用户
		Thread t1 = new onlineThread("springboot And beetlsql And freemarker :  ");
		t1.start();
	}

}
